package lib.gt.map;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

public class MapOverlayItem extends OverlayItem {
	
	private IOverlayData data;

	public MapOverlayItem(IOverlayData data) {
		super(new GeoPoint(data.getLatitudeE6(), data.getLongitudeE6()), null, null);
		this.data = data;
	}
	
	public IOverlayData getData() {
		return data;
	}
	
	public void release() {
		data = null;
	}
}
